package com.becca.cake.service.sms;

import java.util.List;
import java.util.Map;

import org.springframework.web.multipart.MultipartFile;

import com.becca.cake.model.sms.SmsUserModel;

public interface ISmsService {
    /**
     * 查询全部短信
     * @param map
     * @return
     */
    List<SmsUserModel> selectAllSms(Map<String, Object> map);

    /**
     * 查询短信总记录数
     */
    Long selectAllSmsCount(Map<String, Object> map);

    /**
     * 导入excel读取用户手机
     * @param files
     * @return
     */
    String importExcelUserPhone(MultipartFile files);

    /**
     * 发送短信
     * @param smsUserModel
     * @param userName
     */
    void addSendSms(SmsUserModel smsUserModel, String userName);

}
